import { defineComponent, ref } from 'vue';

export default defineComponent({
  setup() {
    const count = ref(0);
    const handleCount = () => {
      count.value++;
    };
    return {
      count,
      handleCount,
    };
  },
  render() {
    return (
      <div>
        <div>hello jsx</div>
        <div onClick={this.handleCount}>{this.count}</div>
      </div>
    );
  },
});
